/**
 * 
 */
package it.unical.canonaco.rende.igpe.game.cbv.logiclayer.engine.netgame;

/**
 * @author Massimo Canonaco
 *
 */
public class ServerCondition 
{

//	private FakeMonitorObject object;
	
	public ServerCondition()
	{
//		object = new FakeMonitorObject();
	}
	
	public void doWait() throws InterruptedException
	{
//		System.out.println("SLEEP");
		synchronized (this) 
		{
			this.wait();
		}
	}
	
	public void doNotifyAll()
	{
		synchronized (this) 
		{
			this.notifyAll();
		}
	}
	
	public void doNotify()
	{
		synchronized (this) 
		{
			this.notify();
		}
	}
}
